﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Tab.ascx.cs" Inherits="HRProject.Component.Tab" %>
<div style="float:left;clear:both;">
    <div style="float:left;clear:both;">
    <%
        for (int i = 0; i < TabList1.Count; i++)
        {
            string selectedClass = "";
            if (TabList1[i].Key.Equals(SelectedTab1))
            {
                selectedClass = "selected";
            }
            %><div class="tab <%=selectedClass %>">
            <a href="<%= TabList1[i].Url %>"><%= TabList1[i].Label %></a>
            </div><%
        }
    %>
    </div>
    <div style="float:left;clear:both;padding-left:20px">
    <%
        for (int i = 0; i < TabList2.Count; i++)
        {
            string selectedClass = "";
            if (TabList2[i].Key.Equals(SelectedTab2))
            {
                selectedClass = "selected";
            }
            %><div class="tab <%=selectedClass %>">
            <a href="<%= TabList2[i].Url %>"><%= TabList2[i].Label %></a>
            </div><%
        }
    %>
    </div>
</div>